//unocss.config.js
import {
    defineConfig,
    presetAttributify,
    presetUno,
    transformerDirectives,
    presetIcons,
  } from "unocss";
  import presetWeapp from "unocss-preset-weapp";
  
  export default defineConfig({
    rules: [
      // [/^line-height-(.+)$/, ([, d]) => ({ "line-height": `${+d / 4}rem` })],
    ],
    shortcuts: [],
    presets: [
      // presetUno(),
      // @ts-ignore
      presetWeapp(),
      // presetAttributify(),
    
    ],
    transformers: [
      transformerDirectives(),
      // transformerVariantGroup(),
    ],
  });